<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:s="http://jboss.com/products/seam/taglib"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
		    xmlns:ice="http://www.icesoft.com/icefaces/component"
                template="layout/template.xhtml">

<ui:define name="body">

     <h:messages id="messages" globalOnly="true" styleClass="message" errorClass="errormsg" infoClass="infomsg" warnClass="warnmsg"/>
    
		<div id="banner">
			<h1>#{messages['application.title']}</h1>
			<h2>...#{messages['application.tagline']}</h2>
			<s:fragment rendered="#{not identity.loggedIn}">
				<p>Not a member?#{' '}<s:link id="register" value="Sign up now!" view="/register.xhtml" /></p>
			</s:fragment>
		</div>

        <ice:panelGrid id="homePanelGrid" columns="2" columnClasses="leftMenu,leftMenu">
             <img src="img/ICEfaces-logo.gif" alt="Icefaces and Seam: framework demo"/>   
             <ice:panelGroup id="homePanelGroup">
				<p>Open 18 is a golf course directory and community site for golf players.</p>
				<p><strong>Golf course directory:</strong></p>
				<p>The golf course directory allows you to browse for golf facilities and courses or search for one in your area. The information available includes the facility, the course, the holes, the tee sets and the tees.</p>
				<p><strong>The clubhouse:</strong></p>
				<p>The clubhouse is a social utility that allows you to connect with other golfers. When you register to become a golfer, you will get a profile, which you can share with others. Along with that profile, you can track your golf rounds and publish personal experiences.</p>
            </ice:panelGroup>
        </ice:panelGrid>
    
</ui:define> 
</ui:composition>
